//
//  QuDanUserCeterHeaderView.m
//  QuDanOEM
//
//  Created by xiaohuang on 2021/11/21.
//

#import "QuDanUserCeterHeaderView.h"

@interface QuDanUserCeterHeaderView ()
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIImageView *iconImage;
@end

@implementation QuDanUserCeterHeaderView

- (instancetype)initWithCoder:(NSCoder *)coder
{
    self = [super initWithCoder:coder];
    if (self) {
        NSLog(@"111");
        self.backgroundColor = [UIColor clearColor];
    }
    return self;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    NSLog(@"2222");
   // [self.view setBackgroundColor: RGB(135, 182, 44)]
    self.backgroundColor = [UIColor clearColor];
//    self.bgView.backgroundColor = [UIColor whiteColor];
//    UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:self.bgView.bounds byRoundingCorners:UIRectCornerTopLeft | UIRectCornerTopRight cornerRadii:CGSizeMake(20, 20)];
//       CAShapeLayer *maskLayer = [[CAShapeLayer alloc] init];
//       maskLayer.frame = self.bgView.bounds;
//       maskLayer.path = maskPath.CGPath;
//       self.bgView.layer.mask = maskLayer;
}
@end

